package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName MsgBaseInfoConfigDo
 * @Description
 * @Author ibeeking
 * @Date 2022-01-06 14:15
 **/
@Data
@Accessors(chain = true)
@TableName("msg_bind_config")
public class MsgBindConfigDO implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 是否启用小程序订阅消息
     */
    @TableField(value = "ma_msg_enable")
    private Integer maMsgEnable;

    /**
     * 小程序订阅消息模板id
     */
    @TableField(value = "ma_msg_template_code")
    private String maMsgTemplateCode;

    /**
     * 是否启用公众号模板消息
     */
    @TableField(value = "mp_msg_enable")
    private Integer mpMsgEnable;

    /**
     * 公众号模板消息模板id
     */
    @TableField(value = "mp_msg_template_code")
    private String mpMsgTemplateCode;

    /**
     * 是否启用公众号图文消息
     */
    @TableField(value = "mp_msg_media_enable")
    private Integer mpMsgMediaEnable;

    /**
     * 公众号图文消息模板id
     */
    @TableField(value = "mp_msg_media_template_code")
    private String mpMsgMediaTemplateCode;
    /**
     * 是否启用企业微信消息
     */
    @TableField(value = "cp_msg_enable")
    private Integer cpMsgEnable;

    /**
     * 企业微信消息模板id
     */
    @TableField(value = "cp_msg_template_code")
    private String cpMsgTemplateCode;

    /**
     * 是否启用短信消息
     */
    @TableField(value = "sms_msg_enable")
    private Integer smsMsgEnable;

    /**
     * 短信消息模板id
     */
    @TableField(value = "sms_msg_template_code")
    private String smsMsgTemplateCode;

    /**
     * 是否启用系统内消息
     */
    @TableField(value = "sys_msg_enable")
    private Integer sysMsgEnable;

    /**
     * 系统内消息模板id
     */
    @TableField(value = "sys_msg_template_code")
    private String sysMsgTemplateCode;
    /**
     * 是否启用邮件消息
     */
    @TableField(value = "email_msg_enable")
    private Integer emailMsgEnable;

    /**
     * 邮件消息模板id
     */
    @TableField(value = "email_msg_template_code")
    private String emailMsgTemplateCode;

    @TableField(value = "create_time")
    private LocalDateTime createTime;

    @TableField(value = "create_by")
    private Long createBy;

    @TableField(value = "modify_time")
    private LocalDateTime modifyTime;

    @TableField(value = "modify_by")
    private Long modifyBy;


}
